package com.imooc.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class FirstListerner implements ServletContextListener {

	public void contextDestroyed(ServletContextEvent sce) {
				
				System.out.println("contextDestroyed");
	}

	public void contextInitialized(ServletContextEvent sce) {
		String initParam=sce.getServletContext().getInitParameter("initParam");
				System.out.println("contextInitialized:initParam="+initParam);
	}

}
